<?php

class My_lots_metalsController extends BaseController
{
    public $layout = 'inner_one_column';

    public function actions()
    {
        return $this->registerActions(array
        (
            'index',
            'add',
            'edit',
        ));
    }

    public function accessRules()
    {
        return array
            (
                array
                (
                    'allow',
                    'roles'  => array('user_sole_proprietorship')
                ),
                array
                (
                    'deny',
                    'users'   => array('*')
                )
            );
    }
}